from flask_sqlalchemy import SQLAlchemy

host = "127.0.0.1"
port = 5000
username = "root"
password = "123456"
databases = "xihu"

URL = f"mysql+pymysql://{username}:{password}@{host}:{port}/{databases}?charset=utf8"

SQLALCHEMY_DATABASE_URI = URL
SQLALCHEMY_TRACK_MODIFICATIONS = False